package com.geovis.emergency.spd.entity.system.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.geovis.emergency.spd.entity.basic.entity.BaseSpdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 附件表
 * </p>
 *
 * @author 曾德实
 * @since 2020-09-01
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("system_file")
@ApiModel(value = "SystemFile对象", description = "附件表")
public class SystemFile extends BaseSpdEntity {

    @ApiModelProperty(value = "文件名称")
    private String name;

    @ApiModelProperty(value = "文件扩展名")
    private String extName;

    @ApiModelProperty(value = "文件类型")
    private String contentType;

    @ApiModelProperty(value = "文件大小")
    private Long size;

    @ApiModelProperty(value = "总文件大小")
    private Long totalSize;

    @ApiModelProperty(value = "存储目录")
    private String dir;

    @ApiModelProperty(value = "存储路径")
    private String path;

    @ApiModelProperty(value = "文件状态")
    private String dataStatus;

    @ApiModelProperty(value = "文件md5值")
    private String md5;

}
